package com.openlab.callsystem.controller;


import com.openlab.callsystem.service.LineUpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;


import java.util.Map;

@Controller
public class LineUpController {
    @Autowired
    LineUpService lineUp;
    @GetMapping("/withdraw/common")
    @ResponseBody
    public Map<String, Integer> common(){
        Map<String,Integer> map = lineUp.commonLineUp();
        return map;
    }
    @GetMapping("/withdraw/vip")
    @ResponseBody
    public Map<String, Integer> vip(){
        Map<String,Integer> map = lineUp.vipLineUp();
        return map;
    }
}
